<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="__PUBLIC_ADMIN__/Css/public.css">
    <link rel="stylesheet" href="__PUBLIC_ADMIN__/Css/node.css">
    <script src="__PUBLIC__/JS/jquery-1.7.2.min.js"></script>
    <script src="__PUBLIC__/layer/layer.js"></script>
</head>
<body>
<div id="wrap">
    <a href="{:U('Index/addNode')}" class="add-app">添加应用</a>
    <foreach name="list" item="vo">
        <div class="app">
            <p>
                <strong>{$vo.title}</strong>
                [<a href="{:U('Index/addNode',array('pid'=>$vo['id'],'level'=>2))}">添加控制器</a>]
                <a href="">[修改]</a>
                <a href="">[删除]</a>
            </p>
            <foreach name="vo.child" item="action">
                <dl>
                    <dt>
                        <strong>{$action.title}</strong>
                        <a href="{:U('Index/addNode',array('pid'=>$action['id'],'level'=>3))}">[添加方法]</a>
                    </dt>
                    <foreach name="action.child" item="method">
                        <dd>
                            <span>{$method.title}</span>
                            <a href="">[修改]</a>
                            <a href="">[删除]</a>
                        </dd>
                    </foreach>
                </dl>
            </foreach>
        </div>
    </foreach>
</div>
</body>
</html>